

X= 4.17 eV
Y = 8.24×10-19 J
since 1 J = 1.6×10-19 eV
therefore Y = 5.15 eV
for X metal lesser amount of energy will be required to emit an electron.
Reason:
the minimum amount of energy required by an electron to just escape from the metal surface is called work function of the metal.
